#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int main()
{
	int a;
	int b;
	int c;
	scanf("%d%d%d", &a, &b, &c);
	if (a > b)
	{
		int q = a;
		a = b;
		b = q;
	}
	if (a > c)
	{
		int w = a;
		a = c;
		c = w;
	}
	if (b > c)
	{
		int r = b;
		b = c;
		c = r;
	}
	printf("%d %d %d", a, b, c);
	return 0;
}
